<div class="container">
    <div class="top">
        <h1 class="page__title" style="background-color:#479de6">案場<span id="PageBack" class="back">返回</span><a class="home fa fa-home ajax-page" id="home" href=".html"></a></h1>
    </div>
    <div class="page" id="page" style="background-color:#ffffff;">
        <div class="pagebg"></div>
        <div class="pagemain">
            <div id="view104677" class="" style="padding: 5px; margin: 5px;">
                <div class="">
                    <p style="text-align: center;"><span style="font-family: 微软雅黑, &quot;Microsoft YaHei&quot;; font-size: 24px;"><strong>案場列表</strong></span></p>
                </div>
                <div style="height: 105px">
                    <form method="post" role="form" action="">

                        <div class="weui-search-bar__form" style="margin-bottom: 5px">
                            <div class="weui-search-bar__box">
                                <i class="weui-icon-search"></i>
                                <input type="search" required="" placeholder="請輸入案場名稱" name="name"  value="{$name}" class="weui-search-bar__input" />
                            </div>
                        </div>

                        <div class="col-xs-12"  data-toggle="cxselect" data-selects="xianshi,xzq">
                            <div class="col-xs-6" >
                                <select class="xianshi form-control"  name="xianshi" data-url="home/cxselect?type=xianshi">
                                    <option value="{$xianshi}" selected>{$xianshi}</option>
                                </select>
                            </div>
                            <div class="col-xs-6" >
                                <select class="xzq form-control" value="{$xzq}" name="xzq" data-url="home/cxselect?type=xzq">
                                    <option value="{$xzq}" selected>{$xzq}</option>
                                </select>
                            </div>
                            <input type="hidden" class="operate" data-name="xianshi" value="=" />
                            <input type="hidden" class="operate" data-name="xzq" value="=" />
                        </div>
                        <div style="height: 40px">
                        </div>
                        <div class="col-xs-12  col-xs-offset-4">
                            <button type="submit" class="btn btn-success" >提交</button>
                            <button type="reset" class="btn btn-default">重置</button>
                        </div>

                    </form>
                </div>

                {foreach name="anchanglist" item="vo"}
                    <div class="" style="border-width: 1px; border-style: solid; border-color: rgb(63, 92, 166); border-radius: 5px; padding: 5px; margin: 5px;">
                        <div class="weui-panel weui-panel_access">
                            <div class="weui-panel__hd nav-black">
                                <div class="weui-panel__title">
                                    {$vo.name}
                                </div>
                                <div class="weui-panel__tools">
                                    <a data-index="449386" href="actions" page="actions"> 更多 </a>
                                    <div class="actions449386 hide" data-position="Up" data-effect="bounce">
                                        <div class="weui-actionsheet__title">
                                            <div class="weui-actionsheet__title-text">
                                                {$vo.name}
                                            </div>
                                        </div>
                                        <div class="weui-actionsheet__menu">
                                            <div class="weui-grids ">
                                                <a data-index="{$vo.id}0" page="phone" href="tel:{$vo.contact1_mobile}" style="" class="weui-media-box weui-media-box_appmsg direction-column  weui-grid-33">
                                                    <div class="weui-media-box__hd">
                                                        <img class="weui-media-box__thumb" src="__CDN__/assets/images/1578381191323.png" alt="打電話" style="" />
                                                    </div>
                                                    <div class="weui-media-box__bd">
                                                        <h4 class="weui-media-box__title" style="">打電話</h4>
                                                    </div> </a>
                                                <a data-index="{$vo.id}1" page="external" href="{$vo.mapurl}" style="" class="weui-media-box weui-media-box_appmsg direction-column  weui-grid-33">
                                                    <div class="weui-media-box__hd">
                                                        <img class="weui-media-box__thumb" src="__CDN__/assets/images/icon_location.png" alt="導航" style="" />
                                                    </div>
                                                    <div class="weui-media-box__bd">
                                                        <h4 class="weui-media-box__title" style="">導航</h4>
                                                    </div> </a>
                                                <a data-index="{$vo.id}2" page="iot" href="{:url('home/iot').'?anchang_id='.$vo.id}" style="" class="weui-media-box weui-media-box_appmsg direction-column  weui-grid-33">
                                                    <div class="weui-media-box__hd">
                                                        <img class="weui-media-box__thumb" src="__CDN__/assets/images/icon_manage_pressed.png" alt="iot裝置列表" style="" />
                                                    </div>
                                                    <div class="weui-media-box__bd">
                                                        <h4 class="weui-media-box__title" style="">iot裝置列表</h4>
                                                    </div> </a>
                                                <a data-index="{$vo.id}3" page="addmaintenance" href="{:url('home/addmaintenance').'?anchang_id='.$vo.id}" style="" class="weui-media-box weui-media-box_appmsg direction-column  weui-grid-33">
                                                    <div class="weui-media-box__hd">
                                                        <img class="weui-media-box__thumb" src="__CDN__/assets/images/icon2.png" alt="維修紀錄" style="" />
                                                    </div>
                                                    <div class="weui-media-box__bd">
                                                        <h4 class="weui-media-box__title" style="">維修紀錄</h4>
                                                    </div> </a>
                                                <a data-index="{$vo.id}4" page="cbzy" href="{:url('home/cbzy').'?anchang_id='.$vo.id}" style="" class="weui-media-box weui-media-box_appmsg direction-column  weui-grid-33">
                                                    <div class="weui-media-box__hd">
                                                        <img class="weui-media-box__thumb" src="__CDN__/assets/images/icon_analysis_pressed.png" alt="抄表作業" style="" />
                                                    </div>
                                                    <div class="weui-media-box__bd">
                                                        <h4 class="weui-media-box__title" style="">抄表作業</h4>
                                                    </div>
                                                </a>
                                                <a data-index="{$vo.id}4" page="cbzy" href="{:url('home/tasklist').'?anchang_id='.$vo.id}" style="" class="weui-media-box weui-media-box_appmsg direction-column  weui-grid-33">
                                                    <div class="weui-media-box__hd">
                                                        <img class="weui-media-box__thumb" src="__CDN__/assets/images/icon_message_pressed.png" alt="工作提醒" style="" />
                                                    </div>
                                                    <div class="weui-media-box__bd">
                                                        <h4 class="weui-media-box__title" style="">工作提醒</h4>
                                                    </div>
                                                </a>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="weui-panel__bd" id="pandel_bd449386">
                                <div class="">
                                    <span style="font-family: 微软雅黑, &quot;Microsoft YaHei&quot;; font-size: 12px;">案場編號: &nbsp; {$vo.remark}</span>
                                </div>
                                <div class="">
                                    <span style="font-family: 微软雅黑, &quot;Microsoft YaHei&quot;; font-size: 12px;">地址: &nbsp; {$vo.addr}</span>
                                </div>
                            </div>
                            <div class="weui-panel__ft" id="pandel_ft449386">
                                <div class="weui-grids   weui-grids-border" id="appmsg382527">
                                    <div class="weui-media-box weui-media-box_small-appmsg">
                                        {foreach name="vo.tasklist" item="task"}
                                        <div class="weui-cells">
                                            <a data-index="3825270" id="datatemplate382527" page="empty" href="{:url('home/task').'?ids='.$task.id}" style="" class="weui-cell weui-cell_access">
                                                <div class="weui-cell_small__hd" style="">
                                                    <img class="weui-cell_small__thumb" src="__CDN__/assets/images/icon4.png" alt="{$task.title}" />
                                                </div>
                                                <div class="weui-cell__bd weui-cell_primary">
                                                    <div style="">
                                                        {$task.title}
                                                    </div>
                                                </div>
                                                <p style="text-align: right;">
                                                    <span style="font-size: 14px; font-family: 微软雅黑, &quot;Microsoft YaHei&quot;;">{$task.remind_date}<br/>{$task.task_status}</span><br/>
                                                </p>
                                            </a>

                                        </div>
                                        {/foreach}
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                {/foreach}

            </div>
            <div class="weui-tabbar .tabbar970785" id="tabbar970785" style="width: 100%;">
                <a href="{:url('home/index')}" page="index" class="weui-tabbar__item "> <img src="__CDN__/assets/images/icon1c.png" img="__CDN__/assets/images/icon1c.png" selectimg="__CDN__/assets/images/icon1.png" alt="" class="weui-tabbar__icon" style="" /> <p class="weui-tabbar__label weui-tabbar__label970785">首頁</p> </a>
                <a href="{:url('home/cbzy')}" page="cbzy" class="weui-tabbar__item  "> <img src="__CDN__/assets/images/icon2c.png" img="__CDN__/assets/images/icon2c.png" selectimg="__CDN__/assets/images/icon2.png" alt="" class="weui-tabbar__icon" style="" /> <p class="weui-tabbar__label weui-tabbar__label970785">抄表作業</p> </a>
                <a href="{:url('home/anchanglist')}" page="anchanglist" class="weui-tabbar__item  weui-bar__item_on "> <img src="__CDN__/assets/images/icon_purchase04_pressed.png" img="__CDN__/assets/images/icon_purchase04_pressed.png" selectimg="__CDN__/assets/images/icon_purchase04.png" alt="" class="weui-tabbar__icon" style="" /> <p class="weui-tabbar__label weui-tabbar__label970785">案場</p> </a>
                <a href="{:url('user/profile')}" page="account" class="weui-tabbar__item  "> <img src="__CDN__/assets/images/icon3c.png" img="__CDN__/assets/images/icon3c.png" selectimg="__CDN__/assets/images/icon3.png" alt="" class="weui-tabbar__icon" style="" /> <p class="weui-tabbar__label weui-tabbar__label970785">帳號</p> </a>
                <style type="text/css">
                    .tabbar970785 {}

                    .weui-tabbar__label970785 {
                        color: #999999 !important;
                    "

                    }

                    .weui-tabbar__item.weui-bar__item_on .weui-tabbar__label970785 {
                        color: #09bb07 !important;
                    }
                </style>
            </div>
        </div>
    </div>
</div>